Integrand size = 10, antiderivative size = 32 \[ \int \sqrt {a \cot ^4(x)} \, dx=-\sqrt {a \cot ^4(x)} \tan (x)-x \sqrt {a \cot ^4(x)} \tan ^2(x) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3739, 3554, 8} \[ \int \sqrt {a \cot ^4(x)} \, dx=-x \tan ^2(x) \sqrt {a \cot ^4(x)}-\tan (x) \sqrt {a \cot ^4(x)} \]
[In]
[Out]
Rule 8
Rule 3554
Rule 3739
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int \cot ^2(x) \, dx \\ & = -\sqrt {a \cot ^4(x)} \tan (x)-\left (\sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int 1 \, dx \\ & = -\sqrt {a \cot ^4(x)} \tan (x)-x \sqrt {a \cot ^4(x)} \tan ^2(x) \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
Time = 0.02 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.88 \[ \int \sqrt {a \cot ^4(x)} \, dx=-\sqrt {a \cot ^4(x)} \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},1,\frac {1}{2},-\tan ^2(x)\right ) \tan (x) \]
[In]
[Out]
Time = 0.03 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.84
method | result | size |
derivativedivides | \(\frac {\sqrt {a \cot \left (x \right )^{4}}\, \left (-\cot \left (x \right )+\frac {\pi }{2}-\operatorname {arccot}\left (\cot \left (x \right )\right )\right )}{\cot \left (x \right )^{2}}\) | \(27\) |
default | \(\frac {\sqrt {a \cot \left (x \right )^{4}}\, \left (-\cot \left (x \right )+\frac {\pi }{2}-\operatorname {arccot}\left (\cot \left (x \right )\right )\right )}{\cot \left (x \right )^{2}}\) | \(27\) |
risch | \(\frac {\sqrt {\frac {a \left ({\mathrm e}^{2 i x}+1\right )^{4}}{\left ({\mathrm e}^{2 i x}-1\right )^{4}}}\, \left ({\mathrm e}^{2 i x}-1\right )^{2} x}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}+\frac {2 i \sqrt {\frac {a \left ({\mathrm e}^{2 i x}+1\right )^{4}}{\left ({\mathrm e}^{2 i x}-1\right )^{4}}}\, \left ({\mathrm e}^{2 i x}-1\right )}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}\) | \(85\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 61 vs. \(2 (28) = 56\).
Time = 0.28 (sec) , antiderivative size = 61, normalized size of antiderivative = 1.91 \[ \int \sqrt {a \cot ^4(x)} \, dx=\frac {{\left (x \cos \left (2 \, x\right ) - x - \sin \left (2 \, x\right )\right )} \sqrt {\frac {a \cos \left (2 \, x\right )^{2} + 2 \, a \cos \left (2 \, x\right ) + a}{\cos \left (2 \, x\right )^{2} - 2 \, \cos \left (2 \, x\right ) + 1}}}{\cos \left (2 \, x\right ) + 1} \]
[In]
[Out]
\[ \int \sqrt {a \cot ^4(x)} \, dx=\int \sqrt {a \cot ^{4}{\left (x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.50 \[ \int \sqrt {a \cot ^4(x)} \, dx=-\sqrt {a} x - \frac {\sqrt {a}}{\tan \left (x\right )} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.66 \[ \int \sqrt {a \cot ^4(x)} \, dx=-\frac {1}{2} \, \sqrt {a} {\left (2 \, x + \frac {1}{\tan \left (\frac {1}{2} \, x\right )} - \tan \left (\frac {1}{2} \, x\right )\right )} \]
[In]
[Out]
Timed out. \[ \int \sqrt {a \cot ^4(x)} \, dx=\int \sqrt {a\,{\mathrm {cot}\left (x\right )}^4} \,d x \]
[In]
[Out]